package com.example.stars_project_android.index;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.TextView;

import com.example.stars_project_android.R;

/**
 * 聊天室信息
 */
public class ChatInformation extends AppCompatActivity {

    private TextView tvChatId,tvChatName,tvChatDescription,tvChatCreated,tvChatUserNum,tvChatAdminNum;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_chat_information);

        setView();
    }

    private void setView() {
        tvChatId = findViewById(R.id.tv_chat_id);//聊天室ID
        tvChatName = findViewById(R.id.tv_chat_name);//聊天室名称
        tvChatDescription = findViewById(R.id.tv_chat_description);//聊天室描述
        tvChatCreated = findViewById(R.id.tv_chat_created);//聊天室创建者
        tvChatUserNum = findViewById(R.id.tv_chat_user_num);//聊天室成员人数
        tvChatAdminNum = findViewById(R.id.tv_chat_admin_num);//聊天室管理员人数
    }
}